<#include "/view/common/command/para.html">
<div class="zs-ibox" id="validationList">
<div class="zs-ibox">
	<table class="zs-form-tab">
        <tbody>
		<tr>
			<td style="width:80px;">站点</td>
			<td> 
	           	<ul style="float: left;" class="zs-data-sizer">
					<li ng-click="allStationSelected=true"
						ng-class="{selected:allStationSelected}"><a href="#">全部</a></li>
					<li ng-click="allStationSelected=false"
						ng-class="{selected:!allStationSelected}"><a href="#">{{selectedModel.STATION_NAME}}</a></li>
				</ul>
            </td>
        </tr>
        <tr>
        	<td style="width:80px;">统计周期</td>
			<td>
				<input name="dataType" value="week" class="zs-btn radio_btn" type="radio"  style="padding-right: 2px" 
					ng-change="dataTypeChange('week')" ng-model="dataType" />周</label>
				<input name="dataType" value="month" class="zs-btn radio_btn" type="radio" style="padding-right: 2px" 
					ng-change="dataTypeChange('month')" ng-model="dataType" />月</label> 
			</td>
        </tr>
		<tr>
	    	<td>时间</td>
			<td ng-show="dataType=='week'">
				<select class="form-control" ng-model="selectYear" ng-options="year.value as year.name for year in yearlist" ng-change="changeYear(selectYear)"></select>
				<select class="form-control" ng-model="selectWeek" ng-options="week.value as week.name for week in weeklist"></select>
			    <input type="button" value="查询" class="zs-btn" ng-click="queryDataTransferRate()">  
			    <input type="button" value="导出" class="zs-btn" ng-click="exportTransEffReport()">  
			    <input type="button" value="手工统计" class="zs-btn" ng-click="onManualClick()">  
		    </td>
	        <td ng-show="dataType=='month'">
	       		<label>&nbsp;年份</label>
	        	<ag-Combobox name="YEAR" ng-model="selectYear"  
          			text-Value="" table-name="" domain-name="" dynamic="false"  style="width:80px" 
                    data=<@domain addSpaceItem="true" tableName="data_defulatdomain" domainName="EVERY_YEAR">${data}</@domain> />                           
            	</ag-Combobox>
	        	<label>&nbsp;&nbsp;&nbsp;月份：   </label> &nbsp;
				<select class="form-control" ng-model="selectMonth">
					<option value="1">1月</option>
					<option value="2">2月</option>
					<option value="3">3月</option>
					<option value="4">4月</option>
					<option value="5">5月</option>
					<option value="6">6月</option>
					<option value="7">7月</option>
					<option value="8">8月</option>
					<option value="9">9月</option>
					<option value="10">10月</option>
					<option value="11">11月</option>
					<option value="12">12月</option>
				</select> 
				<input type="button" value="查询" class="zs-btn" ng-click="queryDataTransferRate()">  
				<input type="button" value="导出" class="zs-btn" ng-click="exportTransEffReport()">  
				<input type="button" value="手工统计" class="zs-btn" ng-click="onManualClick()">  		
			</td>			  
	    </tr>   		    			   
        </tbody>
    </table>  
   </div>  
   	<div style="overflow: auto;" ng-style="{height: (Map_H -160)+'px',width:(Map_W -10)+'px'}">
		<table class="zs-data-tab" style="min-width:1070px;width:100%">
			<thead>
				<tr>
					<th class="head" style="min-width:200px">点位名称</th>
					<th class="head" style="min-width:80px">时间</th>
					<th class="head" style="min-width:150px">传输率</th>
					<th class="head" style="min-width:150px">有效率</th>
					<th class="head" style="min-width:150px">传输有效率 </th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="curRow in httpData.dataListInfo.data">
					<td class="center"><a><label ng-bind="curRow.POINTNAME"></label></a></td>
					<td class="center"><a><label ng-bind="curRow.DATA_TEXT"></label></a></td>
					<td class="center"><a><label ng-bind="curRow.TRANSFER_RATE"></label></a></td>
					<td class="center"><a><label ng-bind="curRow.VALIDATE_RATE"></label></a></td>
					<td class="center"><a><label ng-bind="curRow.TRANSFER_VALIDATE_RATE"></label></a></td>
				</tr>  
			</tbody>
		</table>
		<div class="zs-page">
			<a
				ng-click="waterDataCommon.firstPage(httpData.dataListInfo,queryObject)">首页</a>
			<a class="pre"
				ng-click="waterDataCommon.prePage(httpData.dataListInfo,queryObject)">上一页</a>
			<a class="next"
				ng-click="waterDataCommon.nextPage(httpData.dataListInfo,queryObject)">下一页</a>
			<a
				ng-click="waterDataCommon.lastPage(httpData.dataListInfo,queryObject)">尾页</a>
			共<strong><label
				ng-bind="httpData.dataListInfo.pageInfo.rowCount"></label></strong>条数据 - 第<strong><label
				ng-bind="httpData.dataListInfo.pageInfo.pageIndex"></label></strong>页 - 共<strong><label
				ng-bind="httpData.dataListInfo.pageInfo.pageCount"></label></strong>页
		</div>
	</div>
</div>
